package com.deep.product.dao;

import com.deep.product.model.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author deep
 * @email ${email}
 * @date 2022-01-13 17:09:54
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {
    Long getMaxAttrId();

    List<AttrEntity> queryByIds(@Param("attrIds") List<Long> attrIds);
}
